package com.yizhang.pojo;

/**
 * @Author: yi.zhang
 * @CreateTime: 2025-05-27 14:28:03
 * @Description: 存放解析mapper.xml的内容
 */
public class MappedStatement {

    /**
     * nameSpace + '.' + id
     */
    private String statementId;

    /**
     * 请求参数类型
     */
    private String parameterType;

    /**
     * 返回参数类型
     */
    private String resultType;

    /**
     * 待执行SQL
     */
    private String sql;

    /**
     * SQL类型  select|insert|update|delete
     */
    private String sqlType;

    public String getStatementId() {
        return statementId;
    }

    public void setStatementId(String statementId) {
        this.statementId = statementId;
    }

    public String getParameterType() {
        return parameterType;
    }

    public void setParameterType(String parameterType) {
        this.parameterType = parameterType;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getSqlType() {
        return sqlType;
    }

    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }
}
